package service.domain;

import java.io.Serializable;
import java.util.Date;

public class BoardVO implements Serializable {
	private static final long serialVersionUID = 1L;
	
	// Field
	private String no;	
	private String title;	
	private String content;	
	private String div;	
	private Date regDate;	
	private Date limitDate;	
	private int readCount;	
	private String userId;
	
	// Constructor
	public BoardVO() {
		super();
	}

	public BoardVO(String no, String title, String content, String div,
			Date regDate, Date limitDate, int readCount, String userId) {
		super();
		this.no = no;
		this.title = title;
		this.content = content;
		this.div = div;
		this.regDate = regDate;
		this.limitDate = limitDate;
		this.readCount = readCount;
		this.userId = userId;
	}

	// Getter/Setter Method
	public String getNo() {
		return no;
	}

	public void setNo(String no) {
		this.no = no;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getDiv() {
		return div;
	}

	public void setDiv(String div) {
		this.div = div;
	}

	public Date getRegDate() {
		return regDate;
	}

	public void setRegDate(Date regDate) {
		this.regDate = regDate;
	}

	public Date getLimitDate() {
		return limitDate;
	}

	public void setLimitDate(Date limitDate) {
		this.limitDate = limitDate;
	}

	public int getReadCount() {
		return readCount;
	}

	public void setReadCount(int readCount) {
		this.readCount = readCount;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	// toString Method
	@Override
	public String toString() {
		return "BoardVO [no=" + no + ", title=" + title + ", content="
				+ content + ", div=" + div + ", regDate=" + regDate
				+ ", limitDate=" + limitDate + ", readCount=" + readCount
				+ ", userId=" + userId + "]";
	}	
	
} // end of class
